//
//  ChartCell.h
//  气泡
//
//  Created by zzy on 14-5-13.
//  Copyright (c) 2014年 zzy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ChartContentView.h"

@class ChartCell;
@class ChartMessage;

typedef enum {
    ChartCellLongTapTypeCollect,//收藏
    ChartCellLongTapTypeDelete, //删除
}ChartCellLongTapType;


@protocol ChartCellDelegate <NSObject>

-(void)chartCell:(ChartCell *)chartCell tapContent:(NSString *)content;

/**
 *  长按事件
 *
 *  @param chartCell    cell
 *  @param chartMessage 对应的message
 *  @param longTapType  长按之后的类型
 */
- (void)longTapChartCell:(ChartCell *)chartCell
            chartMessage:(ChartMessage *)chartMessage
    chartCellLongTapType:(ChartCellLongTapType)longTapType;

@end

#import "ChartCellFrame.h"
@interface ChartCell : UITableViewCell
@property (nonatomic,strong) ChartCellFrame *cellFrame;
@property (nonatomic,strong) ChartContentView *chartView;
@property (nonatomic, strong) UIImageView *sendStatusimageview;
@property (nonatomic,strong) UIActivityIndicatorView *indicatorView;
@property (nonatomic, strong) UIButton *audioButton;
@property (nonatomic,assign) id<ChartCellDelegate> delegate;

@property (nonatomic,strong)NSString *otherImageStr;
@property (nonatomic,assign)BOOL isGroup;
-(void)updateCellId:(id)number isShow:(BOOL)yesOrno;




@end
